#coding=utf-8

import web

db = web.database(dbn='sqlite', db='static/r-blog.db')

render=web.template.render('templates/',cache=False)

config=web.storage(
            static='/static/',
            app_root='/',
            email='371184739@qq.com',
            )

web.template.Template.globals['config']=config
web.template.Template.globals['render']=render
